Skip to content

[WIP] [GSoC 2026 PoC] GCP Cloud Run Plugin for PipedV1#6616

Draft
zyzzmohit wants to merge 3 commits intopipe-cd:masterfrom
zyzzmohit:feat/gsoc-cloudrun-prototype
Draft

[WIP] [GSoC 2026 PoC] GCP Cloud Run Plugin for PipedV1#6616
zyzzmohit wants to merge 3 commits intopipe-cd:masterfrom
zyzzmohit:feat/gsoc-cloudrun-prototype

Conversation

@zyzzmohit
Copy link
Copy Markdown

Description

This is a Draft PR showcasing a 60-70% functional prototype of the GCP Cloud Run Plugin for PipedV1. I have built this as a Proof of Concept (PoC) for my GSoC 2026 Proposal (Issue #6114).

By building this prototype, I wanted to rigorously validate my understanding of the new piped-plugin-sdk-go boundaries, prove that the API interactions can be cleanly decoupled into the gRPC plugin architecture, and ensure my proposal's timeline is highly realistic.

What is implemented in this PoC:

  1. Platform Provider: Created a specialized API client wrapping the GCP run/v1 API with native authentication support, and successfully ported the unstructured Knative YAML parsing into provider/manifest.go to cleanly decouple from v0 logic.
  2. Version Determination: Extracted image tags dynamically, natively incorporating my previous patch for advanced registry path parsing from PR bug(cloudrun): fix parseContainerImage to handle images with registry… #6572 directly into the v1 DetermineVersions flow.
  3. Execution Dispatching: Wired up ExecuteStage to dynamically detect CLOUDRUN_SYNC from the SDK pipeline configuration and execute an end-to-end quick sync execution (mapping traffic to 100%, commit-suffix revision generation, and Create/Update API safety checks).

The module successfully compiles against the SDK using go build ./.... I do not intend for this PR to be reviewed or merged immediately; it serves strictly as an actionable baseline and architectural proof for my GSoC 2026 mentorship application.

…sync strategy

Signed-off-by: zyzzmohit <mohitray949@gmail.com>
Signed-off-by: zyzzmohit <mohitray949@gmail.com>
@zyzzmohit zyzzmohit force-pushed the feat/gsoc-cloudrun-prototype branch from 506439b to d7918f5 Compare March 24, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant